package com.practice.pojo.admin.entity;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Null;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class MenuList { //用户菜单权限
    private Integer id; //菜单id
    private Integer pid; //父id
    private String path; //菜单路径
    private String component; //菜单组件
    private String title; //标题
    private String icon; //图标
    private Integer isShow; //是否显示,0不显示,1显示
    private Integer isCache; //是否缓存,0否,1是
    private Integer isLink; //是否外链,1是,2否
    private String redirect; //重定向地址
    private String createDate; //创建时间
    private String updateDate; //更新时间
    private Integer delFlag; //软删除标识
    private Integer type; //类型,1是菜单,2按钮
    private Integer sort; //排序
    private String mark; //权限标识
}
